export default function dateFormat(row, column) {
  const date = row[column.property]
  if (date === undefined) {
    return ''
  }
  const moment = require('moment')
  return moment(date).format('YYYY-MM-DD HH:mm:ss')
}
